home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / sysadmin.564 < prev    next >
Text File  |  1992-02-06  |  1KB  |  50 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;\f3\fswiss Helvetica;}
  2. \paperw11760
  3. \paperh7200
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 Yellow Pages NIS ypserver yppush yp_next()\
  7. \
  8. Q:  Why does my NeXT ypmaster still not work in 1.0a after I have fixed the Makefile in /etc/yp (or why does ypmake hang at the push)?\
  9. \
  10. A:  There is a bug in yp_next() call that causes it to loop infinitely on the servers map.  This unfortunately occurs when you attempt to push maps to other machines.  Placing a "null" entry in the ypservers map will fix the problem.  For some reason, the yp_next() call in yppush will correctly detect the end of the map when an entry consisting of a space and a tab is the last item in source file.\
  11. \
  12. Here is how to place such an entry into the ypserver map.  Assuming that you have a shell on the ypmaster machine, and the yp domain name is ypdomain and has already been built with ypinit -m, do the following:\
  13. \
  14.  
  15. \f2\fs24     ypmaster>
  16. \b  su
  17. \b0 \
  18.     ypmaster
  19. \b #
  20. \b0  
  21. \b cd /etc/yp
  22. \b0 \
  23.  
  24. \b     
  25. \b0 ypmaster
  26. \b #
  27. \b0  
  28. \b makedbm - ypdom1/ypservers\
  29.     ypmaster\
  30.     slaveserver1\
  31.     slaveserver...\
  32.     [space]    [tab]\
  33.     [^D]\
  34.     
  35. \b0 ypmaster
  36. \b #
  37. \b0  make\
  38.  
  39. \f0\fs28 \
  40. That's it.  \
  41. \
  42. n.b.  This problem has only come up when a NeXT is acting as the ypmaster.\
  43. \
  44. QA564\
  45. \
  46. Valid for 1.0 \
  47. Not valid for 2.0\
  48. \
  49.  
  50.